package com.flycent.hqhs.bean;

import java.util.List;

/** 分页实体 */
public class PageEntity<T> {
	/**  当前时间 */
	private long nowDate;
	/** 页码 */
	private int pageNumber;//pageNumber
	/** 每页记录数 */
	private int pageSize;//size
	/** 总页数 */
	private int totalPages;//totalPages
	/** 总记录数 */
	private int total; //totals
	/** 结果列表 */
	private List<T> contents; // 不要命名为content，免得重复解析
	
	
	public long getNowDate() {
		return nowDate;
	}
	public void setNowDate(long nowDate) {
		this.nowDate = nowDate;
	}
	public int getPageNumber() {
		return pageNumber;
	}
	public int getPageSize() {
		return pageSize;
	}
	public int getTotalPages() {
		return totalPages;
	}
	public int getTotal() {
		return total;
	}
	public void setContent(List<T> content) {
		this.contents = content;
	}
	public List<T> getContent() {
		return contents;
	}
	@Override
	public String toString() {
		return "PageEntity [pageNumber=" + pageNumber + ", pageSize="
				+ pageSize + ", totalPages=" + totalPages + ", total=" + total
				+ ", contents=" + contents + "]";
	}
	
	
}
